<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
  <div class="col-md-12">
    <ol class="breadcrumb">
      <li><a href="index.jsp">主页</a></li>
      <li>管理中心</li>
      <li class="active"><strong>推送记录查询</strong></li>
    </ol>
  </div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn"
     ng-controller="wechatPublicBatchCtrl">
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>公众号推送信息</h5>
        </div>
        <div class="ibox-content">
          <form class="form-horizontal" id="form1">
            <div class="row">
              <div class="col-lg-12">
                <div class="panel-body ibox float-e-margins">
                  <div class="ibox-content">
                    <div class="form-group">
                      <label class="col-sm-2 control-label">模板标题：</label>
                      <div class="col-sm-2">
                        <select class="form-control" ng-model="info.title"
                                ng-options="x.value as x.text for x in titles"/>
                      </div>

                      <label class="col-sm-2 control-label">下发对象：</label>
                      <div class="col-sm-2">
                        <select class="form-control" ng-model="info.userType"
                                ng-options="x.value as x.text for x in userType"/>
                      </div>


                      <label class="col-sm-2 control-label">公众号：</label>
                      <div class="col-sm-2">
                        <select class="form-control" ng-model="info.pubAcc"
                                ng-options="x.value as x.text for x in pubNames"/>
                      </div>
                    </div>
                    <div class="form-group">
                      <label class="col-sm-2 control-label">下发时间：</label>
                      <div class="col-sm-4">
                        <input id="d5227" class="form-control" type="datetime" ng-model="info.createTimeStart"
                               onchange="" style="width:auto;display:inline-block;"
                               onFocus="var d5228=$dp.$('d5228');WdatePicker({skin:'whyGreen',dateFmt: 'yyyy-MM-dd HH:mm:ss',onpicked:function(){d5228.focus();},maxDate:'#F{$dp.$D(\'d5228\')}'})"/>
                        ~
                        <input id="d5228" class="form-control" type="datetime" ng-model="info.createTimeEnd"
                               onchange="" style="width:auto;display:inline-block;"
                               onFocus="WdatePicker({skin:'whyGreen',dateFmt: 'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'d5227\')}'})"/>
                      </div>
                    </div>
                    <div class="form-group">
                      <label class="col-sm-1"></label>
                      <div class="col-sm-10">
                        <button class="btn btn-primary6 btn-mr20" type="button"
                                ng-disabled="submitting"
                                ng-click='query()' id="btnSubmit">查询
                        </button>
                        <button class="btn btn-primary3 btn-mr20" type="button"
                                ng-click="resetForm()">清空
                        </button>
                      </div>
                    </div>
                  </div>
                </div>

                <div class="panel-body ibox float-e-margins">
                  <div class="ibox-title">
                    <h5>列表</h5>
                  </div>
                  <div class="ibox-content">
                    <div class="tposition">
                      <div class="gridStyle" ui-grid="wetchatPublicBatchGrid"
                           ui-grid-pagination ui-grid-selection ui-grid-resize-columns ui-grid-pinning>
                        <div ng-show="loadImg" class="timg"></div>
                      </div>
                    </div>
                  </div>
                  <div style="height: 50px"></div>
                </div>
              </div>
            </div>
          </form>

        </div>
      </div>
    </div>
  </div>
  <div style="height: 30px;"></div>

</div>